package com.shop.admin.service;

import com.shop.Result.LdbzResult;
import com.shop.pojo.LdbzItem;
import org.springframework.stereotype.Service;

@Service
public interface AdminItemService {

    LdbzResult countItem();
    LdbzResult selectByKey(long id);
    LdbzResult getItemList(LdbzItem entity);
    LdbzResult getItemPage(LdbzItem entity,int page,int limit);
    LdbzResult deleteByKey(String id);
    LdbzResult insertByEntity(LdbzItem entity);
    LdbzResult updateByEntity(LdbzItem entity);
    LdbzResult syncItemToESByCode(long code);
}
